package com.ngc.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ngc.mall.domain.CouponDomain;
import com.ngc.mall.domain.UserCouponDomain;
import com.ngc.mall.vo.UserCouponSimplifyVO;

import java.util.List;

/**
 *
 * 用户-优惠券
 * @author: chenxiaolin
 * @date 2023/8/22 15:41
**/
public interface IUserCouponService extends IService<UserCouponDomain> {

    Boolean writeOff(CouponDomain couponDomain, Long userId, Long orderId);


    List<UserCouponSimplifyVO> findAllCollectRecord();
}
